package com.linkage.event.pojo.dao;

import com.linkage.event.pojo.entity.EventDiscusses;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface EventDiscussesMapper {
    int deleteByPrimaryKey(String id);

    int insert(EventDiscusses record);

    int insertSelective(EventDiscusses record);

    EventDiscusses selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(EventDiscusses record);

    int updateByPrimaryKey(EventDiscusses record);

    List<EventDiscusses> selectByPage(EventDiscusses eventDiscusses);

    List<Map> selectStatusCountByDate(@Param("startTime")String startTime, @Param("endTime")String endTime);
}